/* Styles généraux ------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
*
{
    margin: 0;
    padding: 0;
}

body 
{
    margin: 0;
    padding: 0;
    font-family: Tahoma, arial, sans-serif;
    color: black;
    background: url(../img/forme.png) fixed no-repeat bottom right;
    background-size: 10%;

}

a
{
    text-decoration: none;
    color: black;
    font-weight: bold;
}

a:hover
{
    color: #007c6d;
    cursor: pointer;
}

/* Header ----------------------------------------------------------------------------------------------------------------- */

#header_top
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2em;
}

#logo_agiris
{
    width: 12em;
    margin-left: 2em;
} 

.titre
{
    display: flex;
    align-items: center;
    justify-content: end;
}

.titre h1
{
    color: #007c6d;
    
}

.titre img
{
    width: 8%
}

.title
{
    display: flex;
    flex-direction: column;
    padding: 0.5em;
}

.title p
{
    font-size: small;
    font-style: italic;
    text-align: center;
}

#header_btm
{
    background-color: #3bb49e;
}

#header_btm p
{
    color: white;
    text-align: justify;
    margin-left: 4em;
    padding: 0.5em;
}

/* Main ----------------------------------------------------------------------------------------------------------------- */

.cockpit_main
{
    display: flex;
    flex-direction: row;
    padding: 4rem;
}

.cockpit_main #states
{
    width: 68%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cockpit_main article
{
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 32%;
}

.cockpit_main .legend
{
    padding: 2em;
    border: 1px solid #007c6d;
    border-radius: 1em;
    max-height: fit-content;
}

.cockpit_main .legend h3
{
    text-align: center;
    margin-bottom: 12px;
    color: #007c6d;
}

.cockpit_main .legend_item
{
    display: flex;
    align-items: center;
    gap: 10px;
}

.cockpit_service
{
    display: flex;
    align-items: center;
    gap: 15px;
}

.cockpit_service_header h2
{
    font-size: medium;
}

@media (max-width: 768px) {
    #logo_agiris
    {
        width: 6em;
        margin-left: 0.5em;
    } 

    .titre h1
    {
        padding: 0.2em;
        font-size: x-large;
    }

    .titre h1
    {
        text-align: end;
    }

    .titre img
    {
        visibility: hidden;
    }

    .title p
    {
        text-align: end;
    }

    #header_btm p
    {
        margin-left: 0;
    }

    .cockpit_main
    {
        flex-direction: column;
        margin-top: 20px;
        padding: 10px;
    }

    .cockpit_main #states
    {
        width: 100%;
    }

    .cockpit_main article
    {
        max-width: 100%;
        margin-top: 50px;
    }
}

.standard
{
    padding: 4rem;
}